﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
    <title></title>
    <script type="text/javascript" src="/js/jquery-1.6.2.min.js"></script>
        
    <script type="text/javascript">
		$(document).ready(function() {          
			$.ajax({
				type: "GET",
				url: "/ChatterProxyService.svc/user/111111111/activities",
				data: "{}",
				contentType: "application/json; charset=utf-8",
				dataType: "json",
				success: function(data) {
    				$.each(data, function(index, activity) {
    				    $("#main ul").append('<li><span>' + activity.n + ': ' + activity.m + '</span></li>');
	    			});
                },
				error: function(jqXHR, textStatus, errorThrown) { alert(errorThrown); }
				
			});         
		});
	</script>         
</head>
<body>
    <div>Home view for ChatterTest1.</div>
    <div id="main">
        <ul id='content'>
        </ul>
    </div>
</body>
</html>
